package mcsm.GUI.LeftPanel;

import mcsm.GUI.MyFrame;
import mcsm.Model.Person;
import mcsm.Model.Staff;
import mcsm.Model.VIP;

public class LeftPanelFactory {
	public static LoginLeftPanel createLoginLeftPanel(int width, int height, MyFrame frame) {
		return new LoginLeftPanel(width, height, frame);
	}
	
	public static AdminLeftPanel createAdminLeftPanel(Staff admin, int width, int height, MyFrame frame) {
		return new AdminLeftPanel(admin, width, height, frame);
	}
	
	public static BranchManagerLeftPanel createBranchManagerLeftPanel(Staff bm, int width, int height, MyFrame frame) {
		return new BranchManagerLeftPanel(bm, width, height, frame);
	}
	
	public static CashierLeftPanel createCashierLeftPanel(Staff cashier, int width, int height, MyFrame frame) {
		return new CashierLeftPanel(cashier, width, height, frame);
	}
	
	public static GeneralManagerLeftPanel createManagerLeftPanel(Staff gm, int width, int height, MyFrame frame) {
		return new GeneralManagerLeftPanel(gm, width, height, frame);
	}
	
	public static VipLeftPanel createVipLeftPanel(VIP vip, int width, int height, MyFrame frame) {
		return new VipLeftPanel(vip, width, height, frame);
	}
	
	public static ServerLeftPanel createServerLeftPanel(Staff server, int width, int height, MyFrame frame) {
		return new ServerLeftPanel(server, width, height, frame);
	}
	
}
